//
//  SRMonth+Cate.h
//  SportRing
//
//  Created by mykoma on 14/11/1.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import "SRMonth.h"

@interface SRMonth (Cate)

+ (SRMonth *)month;

- (void)configAttributesWithBlock:(void(^)(SRMonth * aSelf))block;

@end

@interface SRMonth (Find)

+ (NSArray *)findAllMonthsForMe:(SRMe *)me;

+ (SRMonth *)findMonthForMonthStr:(NSString *)monthStr forMe:(SRMe *)me;

+ (SRMonth *)findMonthCINEForMonthStr:(NSString *)monthStr forMe:(SRMe *)me;

+ (SRMonth *)findMonthForDate:(NSDate *)date forMe:(SRMe *)me;

+ (SRMonth *)findMonthCINEForDate:(NSDate *)date forMe:(SRMe *)me;

- (CGFloat)processOfTasks;

- (NSInteger)countOfSteps;

- (NSInteger)levelOfSport;

- (CGFloat)countOfDistance;

- (CGFloat)countOfCalorie;

- (CGFloat)averageStepsOfDay;

- (CGFloat)averageDistanceOfDay;

- (CGFloat)averageCalorieOfDay;

@end